ArcPad Graphic Layer File Schema
PART Element
See Also  Send comments on this topic.
ArcPad Graphic Layer File Schema > ArcPad Element > FEATURESET Element > FEATURES Element > FEATURE Element > GEOMETRY Element : PART Element

Glossary Item Box

Description

Defines a part for a polyline or polygon graphic element in a graphics layer file (*.apg).

Diagram

POINT Element Sequence PART Element

Overview

PART
Defines a part for a polyline or polygon graphic element in a graphics layer file (*.apg).
maxx required xs:double
Right top x-coordinate in map units.
maxy required xs:double
Right top y-coordinate in map units.
minx required xs:double
Left bottom x-coordinate in map units.
miny required xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
Sequence
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.

Attributes

NameTypeUseDefaultFixedDescription
maxxxs:doublerequired  Right top x-coordinate in map units.
maxyxs:doublerequired  Right top y-coordinate in map units.
minxxs:doublerequired  Left bottom x-coordinate in map units.
minyxs:doublerequired  Left bottom y-coordinate in map units.
typeRestriction of xs:stringoptional   

Remarks

  • minx, miny, maxx, maxy attributes are only required if type is rect, ellipse, or circle.
  • If parent GEOMETRY element type is polyline, polylinez, polylinem, polygon, polygonz, or polygonm, then no attributes are required for PART. The geometry is derived from the child POINT elements.

Examples

Restrictions

If the PART type is rect, ellipse, or circle, then the POINT child element is not used.

Source

<xs:element name="PART" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="POINT" />
    </xs:sequence>
    <xs:attribute ref="maxx" use="required" />
    <xs:attribute ref="maxy" use="required" />
    <xs:attribute ref="minx" use="required" />
    <xs:attribute ref="miny" use="required" />
    <xs:attribute name="type">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="polyline" />
          <xs:enumeration value="polylinez" />
          <xs:enumeration value="polylinem" />
          <xs:enumeration value="polygon" />
          <xs:enumeration value="polygonz" />
          <xs:enumeration value="polygonm" />
          <xs:enumeration value="rect" />
          <xs:enumeration value="ellipse" />
          <xs:enumeration value="circle" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.